import styled from "styled-components";

export const UserTopWrap = styled.div`
  display: flex;
  margin-bottom: 43px;
  .user-top-img {
    padding: 3px;
    border: 1px solid #d5d5d5;
    margin-right: 40px;
    width: 188px;
    height: 188px;
  }
  .user-top-right {
    flex: 1;
    display: flex;
    flex-direction: column;
    .user-top-name {
      float: left;
      margin-top: 3px;
      font-size: 22px;
      font-weight: normal;
      line-height: 30px;
    }
    .user-lv {
      display: inline-block;
      height: 19px;
      overflow: hidden;
      padding-left: 29px;
      line-height: 21px;
      color: #e03a24;
      font-size: 14px;
      font-weight: bold;
      font-style: italic;
      margin: 8px 0 0 10px;
      background-position: -135px -190px;
      .user-lv-i {
        float: right;
        width: 9px;
        height: 19px;
        background-position: -191px -190px;
      }
    }
    .gender {
      float: left;
      margin: 9px 0 0 8px;
      width: 20px;
      height: 20px;
    }
    .gender-b {
      background-position: -41px -57px;
    }
    .gender-g {
      background-position: -41px -27px;
    }
    .user-head-oper {
      a {
        float: left;
        margin: 4px 0 0 15px;
        text-decoration: none;
      }
      .send {
        width: 75px;
        height: 31px;
        background-position: 0 -810px;
        i {
          display: inline-block;
          height: 29px;
          line-height: 29px;
          padding-left: 30px;
          cursor: pointer;
        }
      }
      .delfollow {
        width: 70px;
        height: 31px;
        background-position: 0 -919px;
        i {
          display: inline-block;
          height: 30px;
          line-height: 30px;
          padding-left: 26px;
          color: #666;
          cursor: pointer;
        }
      }
      .delfollow-hx {
        width: 81px;
        height: 31px;
        background-position: 0 -955px;
        i {
          display: inline-block;
          height: 29px;
          line-height: 29px;
          padding-left: 25px;
          color: #666;
          cursor: pointer;
        }
      }
      .follow {
        width: 70px;
        height: 31px;
        padding-left: 30px;
        background-position: 0 -720px;
        color: #fff;
        line-height: 30px;
      }
    }
    .user-edit {
      float: right;
      margin-top: 4px;
      a {
        color: #333;
        background-position: right -100px;
        padding: 0 5px 0 0;
        white-space: nowrap;
        display: inline-block;
        height: 31px;
        line-height: 31px;
        overflow: hidden;
        text-align: center;
        cursor: pointer;
        :hover {
          text-decoration: none;
        }
        i {
          color: #333;
          background-position: 0 -59px;
          padding: 0 15px 0 20px;
          pointer-events: none;
          display: inline-block;
          height: 31px;
          line-height: 31px;
          overflow: hidden;
        }
      }
    }
    .djp-box {
      border-bottom: 1px solid #dddddd;
      .djp {
        margin-top: 8px;
        line-height: 20px;
        font-size: 14px;
        i {
          margin-right: 6px;
          float: left;
          width: 68px;
          height: 20px;
        }
        .yyr-i {
          background-position: -150px -480px;
        }
        .dr-i {
          background-position: -75px -480px;
        }
        .rz-i {
          background-position: 0 -480px;
        }
        .yyrtag {
          display: inline-block;
          height: 16px;
          margin-left: 5px;
          padding: 0 2px;
          vertical-align: middle;
          color: rgba(0, 0, 0, 0.4);
          font-size: 12px;
          line-height: 16px;
          text-align: center;
          border: solid 1px rgba(0, 0, 0, 0.3);
          border-radius: 2px;
        }
      }
    }
    .tab-box {
      margin-bottom: 15px;
      ul {
        li {
          float: left;
          padding: 0 40px 0 20px;
          border-left: 1px solid #ddd;

          a:hover {
            cursor: pointer;
            color: #3375c2;
            text-decoration: none;
          }
          :nth-child(1) {
            border-left: none;
            padding-left: 0;
          }
          p:nth-child(2n-1) {
            font-size: 24px;
          }
        }
      }
    }
    .inf {
      line-height: 21px;
      margin-bottom: 5px;
      color: #666;
    }
  }
`;
